package com.gtl.meishi.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by zhangke on 16/7/2.
 */
@DatabaseTable(tableName = "tb_collection")
public class Collection {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private String caption;
    @DatabaseField
    private String video;

    public String getCaption() {
        return caption;
    }

    public Collection setCaption(String caption) {
        this.caption = caption;
        return this;
    }

    public String getVideo() {
        return video;
    }

    public Collection setVideo(String video) {
        this.video = video;
        return this;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Collection() {
    }

    @Override
    public String toString() {
        return "id:"+id+"caption:"+caption;
    }
}
